package com.woniuxy.cloud.depositassembly.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 周川雄
 * @since 2022-02-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("deposit_order")
@ApiModel(value="DepositOrder对象", description="")
public class DepositOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "押金生成订单id")
    @TableId(value = "deposit_order_id", type = IdType.AUTO)
    private Integer depositOrderId;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "交易金额")
    @TableField("price")
    private Double price;

    @ApiModelProperty(value = "状态：0未付款 1已付款 2失效")
    @TableField("order_status")
    private Integer orderStatus;

    @ApiModelProperty(value = "交易类型，0为押金支付，1为退押金，2为系统罚款")
    @TableField("deal_type")
    private Integer dealType;

    @ApiModelProperty(value = "订单留言")
    @TableField("order_message")
    private String orderMessage;

    @ApiModelProperty(value = "0为创建，1为删除")
    @TableField("deposit_del")
    private Integer depositDel;

    @ApiModelProperty(value = "完事后押金等级id")
    @TableField("deposit_id")
    private Integer depositId;

    @ApiModelProperty(value = "完事后押金等级")
    @TableField("deposit_level")
    private Integer depositLevel;

    @ApiModelProperty(value = "记录新增时间")
    @TableField("raw_add_time")
    private String rawAddTime;

    @ApiModelProperty(value = "记录更新时间")
    @TableField("raw_update_time")
    private String rawUpdateTime;

}
